From: Geoff Gole Date: Mon, 9 Aug 2010 02:23:35 +0000 (-0400) Subject: * whitespace.el (whitespace-color-off): Remove post-command-hook locally. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~18^2~545 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=3f56f14a061acc405f43bfe269d308ff2b486833;p=emacs.git * whitespace.el (whitespace-color-off): Remove post-command-hook locally. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f9db439719e..25c84bad8d3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-08-09 Geoff Gole (tiny change) + + * whitespace.el (whitespace-color-off): Remove post-command-hook + locally. + 2010-08-08 Johan Bockgård * replace.el (replace-highlight): Bind isearch-forward and diff --git a/lisp/whitespace.el b/lisp/whitespace.el index 183698a28f3..5c7d4e95caf 100644 --- a/lisp/whitespace.el +++ b/lisp/whitespace.el @@ -2297,7 +2297,7 @@ resultant list will be returned." ;; turn off font lock (when (whitespace-style-face-p) (font-lock-mode 0) - (remove-hook 'post-command-hook #'whitespace-post-command-hook) + (remove-hook 'post-command-hook #'whitespace-post-command-hook t) (when whitespace-font-lock (setq whitespace-font-lock nil font-lock-keywords whitespace-font-lock-keywords))